 /* 拖动左侧的图片拖到中间的画布 */
.canvas{
    width: 600px;
    height: 600px;
    /* margin: 0 auto; */
    background: #ccc;
    /* position: absolute;
    top: 100px;
   margin-left: 200px; */
   position: absolute;
   
   margin-left: 400px;
   margin-top: 150px;
}
.canvas {
    
    position: relative;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    padding: 10px;
    min-height: 300px;
    background-image: url('/path/to/watermark.png'); /* 替换为你的水印图片路径 */
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
    background-color: transparent; /* 设置背景透明 */
}

.watermark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    pointer-events: none; /* 防止水印影响交互 */
    opacity: 0.5;
}

.watermark span {
    font-size: 2em;
    color: #000;
    color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
    font-style: italic; /* 斜体 */
}

.canvas button {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1001;
}
